﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EggsGame
{
    /// <summary>
    /// 绿头蛋仔
    /// </summary>
    public class GreenHeadEgg : Egg
    {
        public GreenHeadEgg()
        {
            EggName = "绿头蛋仔";
        }
        public override void Fly()
        {
            Console.WriteLine("用翅膀飞");
        }

        public override void Sound()
        {
            Console.WriteLine("呱呱叫");
        }

        public override void Swim()
        {
            Console.WriteLine("用脚来游");
        }
    }
}
